home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / libs / x / xview / xview3.004 / xview3 / usr / openwin / include / pixrect / mem32_var.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-30  |  847 b   |  39 lines

  1. /* @(#)mem32_var.h 1.2 90/07/27 SMI */
  2.  
  3. /* Copyright 1990 Sun Microsystems, Inc. */
  4.  
  5. /* pixrect data for 8 bit emulation in 24/32 bit memory pixrect */
  6.  
  7. #ifndef        mem32var_DEFINED
  8. #define        mem32var_DEFINED
  9.  
  10. #include    <pixrect/pixrect.h>
  11. #include    <pixrect/memvar.h>    /* mprp */
  12. #ifndef SVR4
  13. #include    <sunwindow/cms.h>    /* colormapseg */
  14. #else
  15. #include <sys/cms.h>
  16. #endif SVR4
  17.  
  18. #define         MEM32_8BIT_CMAPSIZE     256
  19.  
  20. struct mprp32_data
  21. {
  22.     struct mprp_data    mprp;
  23.     int                 plane_group;
  24.     int                 fd;
  25.     int                 windowfd;
  26.     struct colormapseg  cms;
  27. };
  28.  
  29. #define        mprp32_d(pr)        ((struct mprp32_data *) (pr)->pr_data)
  30.  
  31. #ifndef KERNEL
  32. extern
  33. struct pixrectops   mem32_ops;
  34. int                 mem32_rop();
  35. int                 mem32_getcolormap();
  36. #endif /* !KERNEL */
  37.  
  38. #endif                    /* !mem32var_DEFINED */
  39.